package designmode.absfactory;

public abstract class Pizza {
    abstract void prepare();

    void bake() {
        System.out.println("烘烤");
    }

    void cut() {
        System.out.println("剪切");
    }

    void box() {
        System.out.println("装箱");
    }
}
